package com.dgshanger.sanhxiaofeisc.mvp.contract

import com.xx.baseuilibrary.mvp.BaseMvpView
import com.xx.baseutilslibrary.network.rx.RxHttpObserver

/**
 * EditPasswordContract
 * 沉迷学习不能自拔
 * Describe：
 * Created by 雷小星🍀 on 2018/4/28 10:59.
 */

interface EditPasswordContract {
    interface Model {
        fun modify_pwd(oldPassword: String, newPassword: String, surePassword: String, httpObserver: RxHttpObserver<Any>)
    }

    interface View : BaseMvpView {

        val oldPassword: String

        val newPassword: String

        val surePassword: String
    }

    interface Presenter {
        fun modifyPwd()
    }
}
